import { defineStore } from 'pinia';
import { ref } from 'vue';

export const useChannelStore = defineStore('channel', () => {
  const activeId = ref(0);

  const setActiveId = (id: number) => {
    activeId.value = id;
  };

  return { activeId, setActiveId };
});
